<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.18"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>ML-HElib: CTile Class Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
		<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;1,700&family=Merriweather&family=Merriweather+Sans&family=Open+Sans&family=Poppins:ital@1&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap" rel="stylesheet"> 
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body style="font-family: 'Merriweather', serif;">
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">ML-HElib </a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_c_tile-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CTile Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_c_tile_8h_source.html">CTile.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa905efe18bcd1315b6cfb17d24ad1745"><td class="memItemLeft" align="right" valign="top"><a id="aa905efe18bcd1315b6cfb17d24ad1745"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>CTile</b> (<a class="el" href="class_he_context.html">HeContext</a> &amp;he)</td></tr>
<tr class="separator:aa905efe18bcd1315b6cfb17d24ad1745"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16ab1f726eb975610c046683c9210e6e"><td class="memItemLeft" align="right" valign="top"><a id="a16ab1f726eb975610c046683c9210e6e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>CTile</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;src)</td></tr>
<tr class="separator:a16ab1f726eb975610c046683c9210e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace3dd5077ec535b43a719f5c814e22e3"><td class="memItemLeft" align="right" valign="top"><a id="ace3dd5077ec535b43a719f5c814e22e3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>CTile</b> (std::shared_ptr&lt; <a class="el" href="class_abstract_ciphertext.html">AbstractCiphertext</a> &gt; _impl)</td></tr>
<tr class="separator:ace3dd5077ec535b43a719f5c814e22e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07cf5a663c72ab6619e8e33fcdafd8d5"><td class="memItemLeft" align="right" valign="top"><a id="a07cf5a663c72ab6619e8e33fcdafd8d5"></a>
std::streamoff&#160;</td><td class="memItemRight" valign="bottom"><b>save</b> (std::ostream &amp;stream) const</td></tr>
<tr class="separator:a07cf5a663c72ab6619e8e33fcdafd8d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4e1f96f7b66a742ce4d0cb6bf5056bf"><td class="memItemLeft" align="right" valign="top"><a id="ae4e1f96f7b66a742ce4d0cb6bf5056bf"></a>
std::streamoff&#160;</td><td class="memItemRight" valign="bottom"><b>load</b> (std::istream &amp;stream)</td></tr>
<tr class="separator:ae4e1f96f7b66a742ce4d0cb6bf5056bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2236d75a75689ff002b2cf7d86bffbd7"><td class="memItemLeft" align="right" valign="top"><a id="a2236d75a75689ff002b2cf7d86bffbd7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>square</b> ()</td></tr>
<tr class="separator:a2236d75a75689ff002b2cf7d86bffbd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae48e5c6fffc0af895d4b562a05c6b63c"><td class="memItemLeft" align="right" valign="top"><a id="ae48e5c6fffc0af895d4b562a05c6b63c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>squareRaw</b> ()</td></tr>
<tr class="separator:ae48e5c6fffc0af895d4b562a05c6b63c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a549ab4406b9400fc998b0d543865e762"><td class="memItemLeft" align="right" valign="top"><a id="a549ab4406b9400fc998b0d543865e762"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>conjugate</b> ()</td></tr>
<tr class="separator:a549ab4406b9400fc998b0d543865e762"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20f8956fd90a9e1437b609af31e688bc"><td class="memItemLeft" align="right" valign="top"><a id="a20f8956fd90a9e1437b609af31e688bc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>rotate</b> (int n)</td></tr>
<tr class="separator:a20f8956fd90a9e1437b609af31e688bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78116fa414fe01367e3924f7eef1e025"><td class="memItemLeft" align="right" valign="top"><a id="a78116fa414fe01367e3924f7eef1e025"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>innerSum</b> (int rot1, int rot2, bool reverse=false)</td></tr>
<tr class="separator:a78116fa414fe01367e3924f7eef1e025"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20fc7490c4e1ed38c4bb83ae0512a15e"><td class="memItemLeft" align="right" valign="top"><a id="a20fc7490c4e1ed38c4bb83ae0512a15e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sumExpBySquaringLeftToRight</b> (int n)</td></tr>
<tr class="separator:a20fc7490c4e1ed38c4bb83ae0512a15e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82899810e67335ad3d4d112a388339fc"><td class="memItemLeft" align="right" valign="top"><a id="a82899810e67335ad3d4d112a388339fc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sumExpBySquaringRightToLeft</b> (int n)</td></tr>
<tr class="separator:a82899810e67335ad3d4d112a388339fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89c96d1f3a5d16482a757c41b8b9f979"><td class="memItemLeft" align="right" valign="top"><a id="a89c96d1f3a5d16482a757c41b8b9f979"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>add</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;other)</td></tr>
<tr class="separator:a89c96d1f3a5d16482a757c41b8b9f979"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc5d8c1d6d2e49b6273384023e83a730"><td class="memItemLeft" align="right" valign="top"><a id="afc5d8c1d6d2e49b6273384023e83a730"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sub</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;other)</td></tr>
<tr class="separator:afc5d8c1d6d2e49b6273384023e83a730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cb0018fb3c507fa63814c53850e5850"><td class="memItemLeft" align="right" valign="top"><a id="a1cb0018fb3c507fa63814c53850e5850"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>multiply</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;other)</td></tr>
<tr class="separator:a1cb0018fb3c507fa63814c53850e5850"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca7d9526e6354efb78e7623f0a664545"><td class="memItemLeft" align="right" valign="top"><a id="aca7d9526e6354efb78e7623f0a664545"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>multiplyPlain</b> (const <a class="el" href="class_p_tile.html">PTile</a> &amp;plain)</td></tr>
<tr class="separator:aca7d9526e6354efb78e7623f0a664545"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3bb867f3e6f5b85a2073c127a81731"><td class="memItemLeft" align="right" valign="top"><a id="a2b3bb867f3e6f5b85a2073c127a81731"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAndAdjustChainIndex</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;other)</td></tr>
<tr class="separator:a2b3bb867f3e6f5b85a2073c127a81731"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa9005ba1d929c8e03ecddd469154cbd"><td class="memItemLeft" align="right" valign="top"><a id="afa9005ba1d929c8e03ecddd469154cbd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>subAndAdjustChainIndex</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;other)</td></tr>
<tr class="separator:afa9005ba1d929c8e03ecddd469154cbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9c90503d6c1a59668b6f8f5c1185629"><td class="memItemLeft" align="right" valign="top"><a id="ad9c90503d6c1a59668b6f8f5c1185629"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>multiplyAndAdjustChainIndex</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;other)</td></tr>
<tr class="separator:ad9c90503d6c1a59668b6f8f5c1185629"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3c77788877a297fc841b3865d66e2a4"><td class="memItemLeft" align="right" valign="top"><a id="ae3c77788877a297fc841b3865d66e2a4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>multiplyPlainAndAdjustChainIndex</b> (const <a class="el" href="class_p_tile.html">PTile</a> &amp;plain)</td></tr>
<tr class="separator:ae3c77788877a297fc841b3865d66e2a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a549f6bbefcf0e8fea340ffae97d64253"><td class="memItemLeft" align="right" valign="top"><a id="a549f6bbefcf0e8fea340ffae97d64253"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>multiplyRaw</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;other)</td></tr>
<tr class="separator:a549f6bbefcf0e8fea340ffae97d64253"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58391f576e601782d70c931221095e9f"><td class="memItemLeft" align="right" valign="top"><a id="a58391f576e601782d70c931221095e9f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>relinearize</b> ()</td></tr>
<tr class="separator:a58391f576e601782d70c931221095e9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82f853ca7b7487e96c82c48b1004a990"><td class="memItemLeft" align="right" valign="top"><a id="a82f853ca7b7487e96c82c48b1004a990"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>rescale</b> ()</td></tr>
<tr class="separator:a82f853ca7b7487e96c82c48b1004a990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4c658fc07ff661eb7f62cd86c1287e1"><td class="memItemLeft" align="right" valign="top"><a id="ad4c658fc07ff661eb7f62cd86c1287e1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>reduceChainIndex</b> ()</td></tr>
<tr class="separator:ad4c658fc07ff661eb7f62cd86c1287e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada1aeda4644859bbe8bf563a215782cf"><td class="memItemLeft" align="right" valign="top"><a id="ada1aeda4644859bbe8bf563a215782cf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setChainIndex</b> (const <a class="el" href="class_c_tile.html">CTile</a> &amp;other)</td></tr>
<tr class="separator:ada1aeda4644859bbe8bf563a215782cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa43a5afb6dcd8265cb9859bba9657b80"><td class="memItemLeft" align="right" valign="top"><a id="aa43a5afb6dcd8265cb9859bba9657b80"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setChainIndex</b> (int chainIndex)</td></tr>
<tr class="separator:aa43a5afb6dcd8265cb9859bba9657b80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7a7f88f493f05035149a1f98a18d17b"><td class="memItemLeft" align="right" valign="top"><a id="ac7a7f88f493f05035149a1f98a18d17b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>getChainIndex</b> () const</td></tr>
<tr class="separator:ac7a7f88f493f05035149a1f98a18d17b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d82f8b725754eb37784162066114ad7"><td class="memItemLeft" align="right" valign="top"><a id="a4d82f8b725754eb37784162066114ad7"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>slotCount</b> () const</td></tr>
<tr class="separator:a4d82f8b725754eb37784162066114ad7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7418df54b60de5ef9e1bb90896358e2b"><td class="memItemLeft" align="right" valign="top"><a id="a7418df54b60de5ef9e1bb90896358e2b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>debugPrint</b> (const std::string &amp;title=&quot;&quot;, int maxElements=4, std::ostream &amp;out=std::cout) const</td></tr>
<tr class="separator:a7418df54b60de5ef9e1bb90896358e2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a206e4a53e8806a3e1574b18fc6e2ec83"><td class="memItemLeft" align="right" valign="top"><a id="a206e4a53e8806a3e1574b18fc6e2ec83"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>assertEquals</b> (const std::string &amp;title, const std::vector&lt; double &gt; &amp;expectedVals, double eps=1e-6, bool percent=false) const</td></tr>
<tr class="separator:a206e4a53e8806a3e1574b18fc6e2ec83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ba5be80520ca31bb26bffdb150de81d"><td class="memItemLeft" align="right" valign="top"><a id="a9ba5be80520ca31bb26bffdb150de81d"></a>
std::shared_ptr&lt; <a class="el" href="class_abstract_ciphertext.html">AbstractCiphertext</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getImpl</b> ()</td></tr>
<tr class="separator:a9ba5be80520ca31bb26bffdb150de81d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a3852f783ee0515333867e6f1706cc0b7"><td class="memItemLeft" align="right" valign="top"><a id="a3852f783ee0515333867e6f1706cc0b7"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>AbstractEncoder</b></td></tr>
<tr class="separator:a3852f783ee0515333867e6f1706cc0b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class representing a ciphertext. Usually users of this library will work with higher-level classes such as <a class="el" href="class_cipher_matrix.html">CipherMatrix</a>, which internally holds multpile CTile-s. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_c_tile_8h_source.html">CTile.h</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
        <script type="text/javascript" src="doxy-boot.js"></script>
</html>
